package com.ruoyi.project.jiaowu.classtime.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

import java.util.Date;
import java.util.Objects;

/**
 * 上课时间对象 tb_class_time
 * 
 * @author zhoujie
 * @date 2019-10-23
 */
@Alias("TbClassTime")
public class TbClassTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 节次 */
    @Excel(name = "节次")
    private String section;

    /** 上课时间 */
    @Excel(name = "上课时间", width = 30, dateFormat = "HH:ss:mm")
    private Date classStartTime;

    /** 下课时间 */
    @Excel(name = "下课时间", width = 30, dateFormat = "HH:ss:mm")
    private Date classEndTime;

    /**
     * 节次对应数字标识
     */
    private int sectionNumber;


    //上课时间   始
    private String beginClassStartTime;
    //上课时间   终
    private String endClassStartTime;
    //下课时间   始
    private String beginClassEndTime;
    //下课时间   终
    private String endClassEndTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public Date getClassStartTime() {
        return classStartTime;
    }

    public void setClassStartTime(Date classStartTime) {
        this.classStartTime = classStartTime;
    }

    public Date getClassEndTime() {
        return classEndTime;
    }

    public void setClassEndTime(Date classEndTime) {
        this.classEndTime = classEndTime;
    }

    public int getSectionNumber() {
        return sectionNumber;
    }

    public void setSectionNumber(int sectionNumber) {
        this.sectionNumber = sectionNumber;
    }

    public String getBeginClassStartTime() {
        return beginClassStartTime;
    }

    public void setBeginClassStartTime(String beginClassStartTime) {
        this.beginClassStartTime = beginClassStartTime;
    }

    public String getEndClassStartTime() {
        return endClassStartTime;
    }

    public void setEndClassStartTime(String endClassStartTime) {
        this.endClassStartTime = endClassStartTime;
    }

    public String getBeginClassEndTime() {
        return beginClassEndTime;
    }

    public void setBeginClassEndTime(String beginClassEndTime) {
        this.beginClassEndTime = beginClassEndTime;
    }

    public String getEndClassEndTime() {
        return endClassEndTime;
    }

    public void setEndClassEndTime(String endClassEndTime) {
        this.endClassEndTime = endClassEndTime;
    }

    @Override
    public String toString() {
        return "TbClassTime{" +
                "id=" + id +
                ", section='" + section + '\'' +
                ", classStartTime=" + classStartTime +
                ", classEndTime=" + classEndTime +
                ", sectionNumber=" + sectionNumber +
                ", beginClassStartTime=" + beginClassStartTime +
                ", endClassStartTime=" + endClassStartTime +
                ", beginClassEndTime=" + beginClassEndTime +
                ", endClassEndTime=" + endClassEndTime +
                '}';
    }
}
